package com.maven.front.mapper;


import com.maven.front.bean.SysFunction;

import java.util.List;

public interface SysFunctionMapper {
    int deleteByPrimaryKey(Integer functionId);

    int insert(SysFunction record);

    int insertSelective(SysFunction record);

     //根据ID查询对应的权限信息
    List<SysFunction> selectByPrimaryKey(int id);

    int updateByPrimaryKeySelective(SysFunction record);

    int updateByPrimaryKey(SysFunction record);

    //查询所有权限信息
    public List<SysFunction> select();

     //查询一级权限
     public List<SysFunction> selectList(Integer id);

     //查询二级权限
     public List<SysFunction> selectList1(Integer id);

     //父级
    public List<SysFunction> sel1();

    //子级
    public List<SysFunction> sel2();

     //新增父节点
    public int insertFunction(SysFunction sysFunction);

}